package com.das.cloudmetro.ssoserver.security.feign;

import com.das.framework.common.extvo.ResultVO;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import org.springframework.cloud.openfeign.FeignClient;

@FeignClient(
        name = "sso",
        fallback = AuthorizationClientServiceFallBack.class
)
public interface AuthorizationClientService {
    @POST
    @Path("/services/auth/authorization/userPubKey")
    @Produces({"application/json"})
    ResultVO getServicePublicKey(@QueryParam("clientId") String var1, @QueryParam("secret") String var2);
}
